package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;
import org.jsola.core.entity.Key;

import javax.persistence.Table;

/**
 * 转账批次(支付宝安全发)
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_transfer_accounts_zfb_safety_batch")
@Key(UUID = true)
public class TransferAccountsZfbSafetyBatchDO extends BaseDeleteDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 商户的批次号 hr_transfer_accounts_batch表主键
     */
    private String batchId;
    /**
     * 转账标题
     */
    private String orderTitle;
    /**
     * 备注
     */
    private String remark;
    /**
     * 支付宝内部的批次id
     */
    private String batchTransId;
    /**
     * 销售产品码
     */
    private String productCode;
    /**
     * 业务场景
     */
    private String bizScene;
    /**
     * 付款方记账本id及协议号等
     */
    private String payerExtInfo;
    /**
     * 付款方记账本id
     */
    private String payerBookId;
    /**
     * 付款方支付宝uid
     */
    private String payerUserId;
    /**
     * 总记录数
     */
    private String totalItemCount;
    /**
     * 成功笔数
     */
    private String successCount;
    /**
     * 失败笔数
     */
    private String failCount;
    /**
     * 批次的总金额
     */
    private String totalAmount;
    /**
     * 转账成功金额
     */
    private String successAmount;
    /**
     * 转账失败金额
     */
    private String failAmount;
    /**
     * 批次状态,INIT：批次已接收,WAIT_PAY：等待支付,DEALING：批次处理中,SUCCESS：批次处理全部成功,PART_SUCCESS：批次处理部分成功,FAIL：全部处理失败,DISUSE：批次单据废弃,INVALID：批次单据中明细全部无效
     */
    private String batchStatus;



}

